projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e761955
)
mx35: Add definitions for clock gate values
author
Benoît Thébaudeau
<
[email protected]
>
Tue, 14 Aug 2012 10:33:06 +0000
(10:33 +0000)
committer
Stefano Babic
<
[email protected]
>
Thu, 6 Sep 2012 09:04:53 +0000
(11:04 +0200)
Signed-off-by: Benoît Thébaudeau <
[email protected]
>
Cc: Stefano Babic <
[email protected]
>
arch/arm/include/asm/arch-mx35/crm_regs.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/arch-mx35/crm_regs.h
b/arch/arm/include/asm/arch-mx35/crm_regs.h
index 7a2d1bbbf10c830892ef8b1b4cb58dc50c17435d..fa71dead30088716aea80c18b29bc773f8ffe787 100644
(file)
--- a/
arch/arm/include/asm/arch-mx35/crm_regs.h
+++ b/
arch/arm/include/asm/arch-mx35/crm_regs.h
@@
-144,6
+144,12
@@
#define MXC_CCM_ACMR_SSI2_CLK_SEL_MASK (0xF << 0)
/* Bit definitions for Clock gating Register*/
+#define MXC_CCM_CGR_CG_MASK 0x3
+#define MXC_CCM_CGR_CG_OFF 0x0
+#define MXC_CCM_CGR_CG_RUN_ON 0x1
+#define MXC_CCM_CGR_CG_RUN_WAIT_ON 0x2
+#define MXC_CCM_CGR_CG_ON 0x3
+
#define MXC_CCM_CGR0_ASRC_OFFSET 0
#define MXC_CCM_CGR0_ASRC_MASK (0x3 << 0)
#define MXC_CCM_CGR0_ATA_OFFSET 2